package sjtu.rfid.rri.services.leaf;

import javax.jws.WebService;

/**
 * The operation interface of BundleServer
 * 
 * @author jinghao
 * 
 */
@WebService
public interface BundleServer extends BundleOperation {

	/**
	 * restart the Bundle Server, which will clear all status of current Bundle
	 * Server.
	 * 
	 * @throws OperationException
	 *             if the operation failed to complete
	 */
	public void restartBundleServer() throws OperationException;

	/**
	 * restore Bundle Server with the state before calling this function, this
	 * will restart the bundle server.
	 * 
	 * @throws OperationException
	 *             if the operation failed to complete
	 */
	public void restoreBundleServer() throws OperationException;

}
